package com.commander.gui.messages;

import org.eclipse.swt.SWT;
import org.eclipse.swt.widgets.MessageBox;

import com.commander.gui.CommanderGUIHandler;

public class InfoMessage implements CommanderMessage{
	
	public InfoMessage(final String message){
		show(message);
	}
	
	@Override
	public void show(String message) {
		MessageBox messageBox = new MessageBox(CommanderGUIHandler.getShell(), SWT.ICON_INFORMATION);
		messageBox.setText("FYI");
		messageBox.setMessage(message);
		messageBox.open();		
	}
}
